package cn.wp.ewallet.wallet.service;

import cn.wp.common.core.dto.WpResult;
import cn.wp.ewallet.wallet.model.dto.AccountLogDto;
import cn.wp.ewallet.wallet.model.entity.AccountLogDo;

/**
 * @ClassName AccountLogService
 * @Author ruixule
 * @Description TODO
 * @Date 2020/1/7 21:42
 */
public interface AccountLogService {

    /**
     * 账户id 查询账户变更日志
     * @param accountId
     * @return
     */

    AccountLogDo getAccountLogByAccountId(String accountId);

    void update(AccountLogDo accountLogDo);

    /**
     * 保存资产变动信息
     * @param accountLogDto
     */
    void saveAccountLog(AccountLogDto accountLogDto);

    /**
     * 保存账户变动记录
     * @param accountLogDo
     */

    void addAccountLogDo(AccountLogDo accountLogDo);
}
